package com.example.android_demo2.room

import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.PrimaryKey

@Entity
data class Word (
    @PrimaryKey(autoGenerate = true)
    val id: Int,
    @ColumnInfo(name = "english_word")
    val world: String,
    @ColumnInfo(name = "chinese_meaning")
    val chineseMeaning: String

)